package net.csdn.business.notify.api.model.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import net.csdn.business.notify.common.enums.NotifyTypeCode;
import net.csdn.business.notify.common.pipeline.param.MessageParam;


/**
 * @ClassName SendRequestDTO
 * @Description 发送通知请求的参数
 * @Author zhangyl
 * @Date 2023/11/29 11:26
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendRequestDTO {

    /**
     * 标识执行责任链的类型
     *
     * @see NotifyTypeCode
     */
    private String processType;


    /**
     * 消息相关的参数
     * 当业务类型为"send"，必传
     */
    private MessageParam messageParam;


}
